import request from '@/utils/request'
// 获取课程方向
export function getArticleTagApi(data) {
	return request({
		url: `/info/api/cc/article/tag/list`,
		method: 'GET',
		params: data
	})
}
//获取文章列表

export function getArticleListApi(data) {
	return request({
		url: `/info/api/cc/article/list`,
		method: 'GET',
		params: data
	})
}
// 获取文章详情

export function getArticleDetailsApi(data) {
	return request({
		url: `/info/api/cc/article/${data.articleId}`,
		method: 'GET'
	})
}